//
//  DocotorDiscribeController.m
//  QuickCure
//
//  Created by Ruihaha on 16/9/13.
//  Copyright © 2016年 haoge. All rights reserved.
//

#import "DocotorDiscribeController.h"

@interface DocotorDiscribeController ()

@end

@implementation DocotorDiscribeController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor =GRAY_COLOR;
    self.tableView.rowHeight=60;
    [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];
}

-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return 5;
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
    return 1;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    
    cell.textLabel.text = [NSString stringWithFormat:@"就诊条件: %ld行",(long)indexPath.section];
    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
    return cell;
}

-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 1;
}
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
    return 15;
}


@end
